package com.styytech.dadabao.api.response;

public abstract interface AbstractResponseResult {

	/** 用户未登录 */
	public static final int SERVER_FAILURE_LOGIN_FAILURE = 1;
	/** 服务正常，执行失败 */
	public static final int RESPONSE_FAILURE = 2;
	/** 服务正常，数据异常 */
	public static final int RESPONSE_DATA_FORMAT_ERROR = 3;

	/** 服务器或网络异常 */
	public abstract void HttpError(String message, int errorCode);

	public abstract void executeError(String message, int errorCode);

	public abstract void executeSuccess(Object object);

}
